<?php

namespace App\Library\Requests\Im;

use App\Library\Requests\Base\SerialNumberRequest;

class ImAddObjectRequest extends SerialNumberRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'acceptId' => 'required|integer|min:1',
            'objectType' => 'required|string|max:20|in:shopProduct,shopOrder',
        ]);
    }
}
